---@coding utf8


local DEBUG_UTILS = require("debug_utils")

function main()
    local file_path = DEBUG_UTILS.get_current_file_dir()
    print(file_path)
    file_path = DEBUG_UTILS.get_current_file_dir(2)
    print(file_path)
    local strack_str = DEBUG_UTILS.get_current_call_stack()
    print(strack_str)
    strack_str = DEBUG_UTILS.get_current_call_stack(2)
    print(strack_str)
    print("------", "log debug info")
    print(DEBUG_UTILS.get_current_function_name(1))
    print(DEBUG_UTILS.get_current_fileinfo(1))
    print(DEBUG_UTILS.get_current_function_name(2))
    print(DEBUG_UTILS.get_current_fileinfo(2))
    print("------", "finish log debug info")
end

main()
print(DEBUG_UTILS.get_current_call_stack(2))
print(DEBUG_UTILS.get_current_function_name(2))
print(DEBUG_UTILS.get_current_fileinfo(2))